﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel;

namespace SJ.Platform.EFCore.Model.ProjectManager
{
    [Table("project_change_main")]
    [Description("项目变更主表")]
    public class ProjectChangeMain
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 项目ID
        /// </summary>
        public string? ProjectId { get; set; }

        /// <summary>
        /// 变更名称
        /// </summary>
        public string? ChangeName { get; set; }

        /// <summary>
        /// 变更类型（1=需求变更，2=进度变更...）
        /// </summary>
        public int? ChangeType { get; set; }

        /// <summary>
        /// 变更原因
        /// </summary>
        public string? Reason { get; set; }

        /// <summary>
        /// 发起人ID
        /// </summary>
        public string? CreateUserId { get; set; }

        /// <summary>
        /// 发起人姓名
        /// </summary>
        public string? CreateUserName { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int? Status { get; set; }

        /// <summary>
        /// 发起时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime? EditTime { get; set; }

        /// <summary>
        /// 最后修改人ID
        /// </summary>
        public string? EditUserId { get; set; }
    }
}